compare strings and run the runloop once per spin