Optimization

8. Extra function.