added initial rails protocol