modified sim_BA.Rmd to include name table