salty add base code