Switch between two table implementation when build