How to call a method