using plugin for initialization