okay, I'll remove the function and duplicate the code