creates static table and, spits out code to save