added onos kill function