legacy commit stuff