implemented 'let' intrinsic