add internal control structure for cmd line scanner