Make names restrict working