Framework code