Initial line search
Added mbr code