add frame method runOnce