working join from left and right