that approach should work more reliably