There are two functions for shake() and shake_food(). Can these be condensed into one? 