change apply method