initial rails struct