made hearts to change dynamically