add global methods