waitforoozie till retention succeeds function added