Example on how to use the heart framework