added and illegal turn condition and other stuff