Redid the render part of .py