grammar inheritance typo