Seperated render class as take forced me.