adding fp and trying to curry