private members with closures