moving data to the snippet