moment called from global scope