before adding membership table