removed test code from join