implemented lenof