works. now to fix issues in todo.