Create codetable from scratch         Contact
Leg --see condition