modify default method and add png templates