http://www.iwnation.com/Hosted/CoDaM/files/sections.c