ToDo Basic 3 with error checking