change apply to methodcall