now recalculating moves each time