Used inline syntax for logic