Improve mark utility