Implemented more advanced move history