dict was replaced with ICommand in poll factory