implement getVariableProperty