why you are using public static in display method???