adding a few more array helpers