#15 added the use of reflection to get property value from object