prepare for commit
routes for commit