added Task class