Declare statement standartize exception to 1 static method for easy call