Got partial functions working (yay)