Change render to extend