working join system but only one level deep