bgwriter attempt