add join-type