revising code