changed the complete render system so that it is not deprecated any more