added stats call and tag to dir (dir)