worked on some rendering code