add spec and ext