added option to insert new lines after brackets