commit target function