add base and data
stupid b2d