enemy utility routine