Code edit - helpers