Added first version Gate handler