Exposing curry function