beginning to add rendering. last commit of the afternoon.