create generic version of tryOld