implementation of getPropertyValue