calling a method is better than show its code