Two gates open and shut