classes with constructors and get/set