rename function to follow conventions