Pass uavlist as parameter