why learning while doing is effective