Expanded inline if statement