Implemented join functionality without error handling.