Teaching for self-regulation of mathematical learning