added support for empty section