adding gallery model