The effects of self set or externally set goals on learning in an uncertain environment