Database Function Update 2

functions to return information