scroll function ptrs instead of switch
encapsulating potions