small changes to sec2