clarified frame extraction