note on railroad diagrams