added reading of CLI header