refactored todo items