beginning table initialization code