Adding Network code and Rendering code