do some modifications in the output