Corrected major error in static method