removing unneeded helper functions