try reactive variable for client state