better function section formatting