rewriting exercise

/rewriting exercise