array loader helper