Original python objectification of XTSM