clean code, make table store in program data to reduce size