updated zombie code