restricted functions