started work on the add functionality