solved in class