changes to sections code