joins elements