use save method rather than file methods for leading data, issue #3