rewrite basic usage