started work on Functions