Added code and test for functions