ViewCount added, flag fixes