slight tweaks to algorithm, starting to collect citations