added distributed bench mode