vary potential