move custom csv method to private