Renamed "clear" to "mark" since this is the operation we're actually performing