reusable library

Now, the dates show up correctly