updated for json without modifying client's origional file, updated for 10 questions