Drop the empty line here (and other places where you do it after you start a function body).  It's not needed.