commit two way