Combine integer and array cases