added input structure