started work on functionality