removing old code snippets from current