begining of adding latex