finish with function to get new commits