assign priority