added more stuff to rex