apologies for the previous commit. bug from unit kill removed