Added of Observer patter to tex