add apply to compatibility