optimized some require calls