Corrected as recommended by lslezak