changed location type to option