utility library for labelled arrays