working on plugin registration