renaming enemy generation function