better gallery, qc functs