Writing controllers for special on-ramps