check todo list and remove unused code