add functions for hetero information