easier to read
added export feature