QUAY LOOP