Stuart's Framework Code