refactors func name to make more sense