implement linesUnboundedC