functions4puppy :
Made a wrapper on top for backwards compatibility,
Old code wrapped into a function.