add specs for joins