Fleshing out the framework logic.