added acceptsLines and endsWithBlankLine