working static intersection