initial changes to allow real array dimensions