to figure out something based on previous information