Adding a small function