Change how rendering works to be more effecient