rewrite for clarity and specify vnd. mime type