declare a method used to dispatch your methods