changing code to show png version