Use inheritance between Box