add some statistics and modify models