add statcount
small changes