using png instead of jpeg