Added my function

Yes, instead of working, I procrastinate on GitHub.