work main_loop.rb (stub) and main_loop_test.rb