missed the globals object vars in the example