added join with RAII stub