initial commit, playing around with alg