trashed code snippets