Added SP example
Improved styling, corrected error in comments, used camelCasing