waiting for first frame