adds Outer join query/ fixes #24