Added get new random goal functionality.