added genstats