fixed inheritance heirarchy