view classes do proper inheritance