change method name global to globalvar of OHM class