Fixed typo and tidied up.