change to real class on builderFrom