tip calc first commit