Adapted from Edx to Stanford Online.