add currying method