The effect of looking up information on learning and long-term memory