adding defaults to q