added stuff to thdem