created new file to contain all my record-adding functions