fix issue #14 - function body optional