separated scaler and app