fixing the code snippets again!