implememnted most of todos