Use inheritance