add alternative heart code