prep for join table