wrap body of if in curlies