use for loop instead of iterator
whitespace change
documentation. parse p, c, a control. New constructor