created google closure compatibility