better testing, added some debug statements
adding a todo item