Quick fix to shorten the code and define one less variable.