minor modification
new snippet added