rendering completed

added most of the rendering features