Deleted crappy Rex code