finished the rails assignments