remove redundant parens
break up long lines
factor together render calls
break up long lines
move short case out of if-branch