added input output structure
added input output structure