added plain text method to the response