commit init code