updated ox.reference to support multiple arguments