cleaned up some code snippets