Try using an interface instead