changing the way to parse in order to be able to read sections