renamed 2 functions for consistency