Added go function to join