change the wrms caululation to a simpler form.