made array functions pubilc