And your friend the{Tab} key to indent blocks of code
Using this approach would easily clean up the posted code ... making it more visually accepting. Good job.