add base to parseInt