fixed issue#28 named inner function
Merge pull request #29 from teotigraphix/develop

fixed issue#28 named inner function