Gate-opening procedure