add class properties and output them