added getter functions for tag compounds