curves model in Galleries