pulls table generator out of presenter