updating typebuilder for compilation