added first unfinished draft of run_analysis