dec in class