extending from the correct class.