kill implemented and tested