- adding libdim and libtrd