Develop and test Functions