improved funcationality for latex in particular