apply function

Apply Function