handy functions for heart.as