added Framing functions
added Framing Functions