Wow. This is how you write a library.