completed gutenberg algorithm