updating analysis and rf code
adding new code