added heartstate