renamed function for consistency