make intersection work