this is not new code, just moved it here so all nova is in the same place
no plan to change any of it as it is to be considered deprecated