While user is working out on the treadmill, they can choose to exercise either by the lake or in the woods. They can make a choice on the treadmill panel in the starting page of my project. The user holds a device on their hand to detect whether he/she is walking or running. An accelerometer is placed in the device to test how fast the user is waving his/ her arm. If the devise decided that the user is walking, it will switch to the walking mode and the virtual scenery will play at a slower speed. If the devise decided that the user is running, it will switch to the running mode and the virtual scenery will play at a faster speed. If the user decided to change a location to run, they can press the return button and go back to the starting page to choose a new location.