change write method in scope_test_due