added export (closes #3)