update add all code from Fay for analysis
update add all code from Fay for analysis