Started work on render code