worked a bit on tex