writing sample files now