Added prototype for render_shape