example of using call function