add apply function support