Added loggings and other statistics