The learning-consciousness connection