something is done before calling
local or global