Adding methods to export data