add inheritance to ride details view