single line with trailing if