added current render method