Adding first function and test.