semantic: Simple nested functions working.