added more todos functionality