An example on using class properties