committing with writing routine