reformed code