added methods to make data more csv friendly