kill method created and functioning successfully