remove dependency on main framework