Refractored case to Pascal.