stuff that builds param tables