optimized old runonce