Edited gate file again