statistics saved on database