Deprecated Old render method