Modified document to include variable username