methodcall example program