add (optional) index argument to RetrieveFrame method