code prepared to cooperate with multiple plugins