first version of wrapper/adapter for variables