aligned the array and some docs fixes