some work done.. still problems with bad moves..