add sample of self define InputFormat