better naming for some functions