get rid of class Task