fixed intersection code