added learning rails