added export feature