Revising code