extend format of the input data