method example and method overloading