rewitting the typebuilder for compile error