improved the kill test