comments and some other minor change in array.k