most functions section done, curry time