added curryflipped