added exit and prelim collision