fixed code indenting, add closing brackets automatically