flushed out different types of statements and how to end blocks