q for deferreds