favor comp over inheritance