remove redundant parens
put error path on early exit
remove redundant code
remove redundant parens
factor out pconditoin lookup
break up packages() function
remove redundant parens
break up long lines
factor together render calls
break up long lines
move short case out of if-branch
break up long lines
break up long lines
break out add function
move function closer to for-loop
factor together organisation lookups
break up long lines
factor branches together
break up long lines
remove models. repetitiveness