documentation and fix for 'let'