A quick look at how photoelectrodes work