act as a plugin