Researchers have synthesized two peptides (small proteins), which, on irradiation with light, change shape, thereby allowing or preventing an specific protein-protein interaction. The association of these two proteins is required for endocytosis, a process by which cells allow molecules to cross the cell membrane and enter.