sterling was sufficiently tempted , however , that he took a photo of john dewey using his new device at the party and one day , if the device ever became public , he could then show the photo , praising john dewey for being instrumental in apples success .