Super minor stuff: Use a 'guard clause' and put the multi-line conditional opening brace on its own line.