adds arrayspace
changed permissions