curves and fit in Galleries