formulas broke

random and non-random moves work
formula need to be completely refactored