fixed formatting and multiple new line issues