Resurect a very old function that may find a new usage now