adds reference to join_apth