added functionality for tasks and notes