read properties in separate class