converting frame to object. may be complete