making use of a heart shaped cam