added new element to to-do list
dirty but functional OOP