WIP: added some algorithm bits