Added a small function.