using own write stream to start with