adding erd and railroady