handle Rail initializer