added complete method to todo list items