table in method