for study rails