make get_frame public again