Implemented global initialization