added some rendering features