removed 'let' bashisms