removed leading and trailing blank lines