demo working with classes

(prop + methods )