before join.do