Added handler for getting heart rates