trailing if on single line