Changed g event to not spam