Removed unused variable from static method