added heart operation for client mode