getting rid of some ghetto join()