document handler second argument