use conditional attributes (foodcritic)