add heartbeat to terminal