Put logic in-line - avoids the if statements