Added @property and minor formatting improvement

Added @property in the example and wrapped the code at 79 characters.