making snapshot