added latex helper class