got things working but the heart gets messed up