add global definitions