How scientists think