markProcessed at the end - more natural for reading