extracted a plugin singleton