works better when you commit