init rail