Removed outdated render code