updated tex. clearer main