added PNG output