finished: input format mapper