Further work on main procedure.