added  loop cycle to test, interactivity