tear down functionality completed