adding snapshot