AddTask functionality added