new todo create refactored