Added array view.
Added initial flow control functionality.