started random target selection
fixed conflicts