medium commit