added reverse curry argument