Changed code snippets