remove and hooks