test to demo properties of different types
small refactoring