Added first part, fixed bug with tasknumbers