corrected the method to be static