Fixed !cq function