Added gate movement