snippet added and printed