Closing the loop: Analytics for self-regulated learning