export functionality is now working (#13)