Student charms professor into a better grade