The mode of operation of Peterhof and some facts from its history