The thalamus and the reticular formation