Implemented a kill method