Creating statistics process