changed pics to latex