created possibly working render code?

apparently It's not being used though.  need to figure why that is.