basic inheritance heirarchy