add arraymap library