fixed typo and added formatting