deleted unnecessary snippets