addded tex mtex and luca stuff