changing rmse curve and saving code