New scala version of teta.