abstract out tables