Changed the writer query so it fetches two names