changed from library to plugin