use defined variable, similar to plugin