tested basic array functionality.