DIM and array resolution working