added enemy code