first commit for number of tasks features, currently not completely done