Added polymoric curry function