clean implementation of delete todos