moves one class correctly but still buggy