framing up logic