To avoid boredom, which is often accompanied by a snack craving, try this trick.

25 minutes on, 15 minutes off – set a timer on your computer or phone to keep track of activity. Sedentary activities like computer work can be done in 25 minute intervals with 15 minutes off. Use your 15 minutes for stretching break or perform some other activity you can easily do standing up or walking. For example, at work you can take a break from the computer to take a quick walk, or ask a question of a coworker (in person!). At home, take a break from the tube to fold laundry or dust.

Don’t worry about lost productivity, the very act of clearing your mind and getting your circulation flowing can increase your overall attention and focus, which should, in turn increase your performance. A disciplined approach to your day can help keep your snacking and meal routine on schedule and your diet goals on target.