add method to get property info.