modify to enhance printing TUPLE and RELATION