remove thing function