add nvram client function