add get prop logic