use declared vars to leverage terse if-statements
use declared vars to leverage terse if-statements