Removed the constant value and added the dynamic calculation.