rearranged input items