added Framing Functions