set up basic loop
set up basic loop