commit magic