added capability to expect multiple types