initial rails input