changes in code snippet