Text this: Scientific and theoretical foundations of teaching systems