scopes and nested functions
function decorator syntax