basic loop of rendering changes