import old code
add "add task" functionality