closer, but not really an algorithm yet