before work commit