added register tables helper