Modified snippets to closer to papas style guide