Did some rendering stuffs