renamed function to conform to naming convention