Update the code following your review comment