Use callback to set a flag - don't get this every run through the loop.