catches user defined in variable