try adding visitFrame calls