added multiple inputs
added multiple inputs