added isEmty for collections