Added case seperators for improved readability
Fixed typo