Added new task funtionality.