Primary knowledge enhances performance and motivation in reasoning