removed outdated render method