modify format for input