created to better understand how rails was constructed