added extra options for input