added two getValue() methods to compound tag