adding virtual object frame functionality