- solutions with array_index and frame object