Fixed generic tdep so that it is correct!