new commit metode