Self-regulation and computer based learning