reading in input data
 init tef() should work now