Added testing render code