pull out render loop again