loop, setup, and input range created.