changed function name to follow conventions