updating code to embed in framework