All that's left is a proper algo

asdf