Final explore

Integrated all the components .

why are you still using `while` loop?