adding join tables