detects ledger lines, initial commit