class and priorities