improveed tex and show answer