Get rid of frontend_loop