slight modification to trans table