good point, i ported this from the old code but I might refactor this because it would be a good idea