A cognitive approach to research and education