added multiple inputs