Working on array primitive