rewrite for clarity