i would fire me for writing a function that looked like this