Revert "add base codes"

This reverts commit e2fad809aa1df79f98519b0b88789ad985a5a8eb.