Moved the customized Table code into MiraTable