add get_property method to library