added rails structure