full logic now in place, checking moves does not seem to work