implement ignore-first-line mode