added newline and removed exception checking helper.