detention assignments definition of problem solving method