update with new mark output method