forgot to put do_frame call in