Initial work on gob-algorithm