passing input to plugin