ydir with underlying string