simplify task class