commited more array functions