pKa of the protonated Schiff base and aspartic 85 in the bacteriorhodopsin binding site is controlled by a specific geometry between the two residues.