framework for exercise