add base (BAD CODE!!!)