making this into a usable package