just so you have it

my new attempt at a gold algorithm