Chap1 creating our own renderer