Frame work socure code