added comments about where algorithms come from