added table write to minmon, tested