This smart algorithm is pretty good👍