The benefits of online learning