Code for walking and TV