add apply to curried and compatibility