add base < 5 constraint