output coords, adjust truth_table logic