adding code for projects and tasks