added function dlen