assigned a name to the freaking function

(cody's fault and he made these changes :) )