add apply to curried