Added code for tasks/views