removing unused snippet