Added row exhaust and incorporated it into opt1()