added enemy functions