Implementing association tables