added multiple input option