more work on array implementation

i'm not liking the nesting checks. will want to refactor soon.