Final edit functions